package listener

import (
    "fmt"
    
    "collecter/app/event/interfaces"
)

type UserLogout struct {
    EventName   string
    SubjectId   int64
    ExtraParams string
}

func (ur UserLogout) SetValue(eventName string, subjectId int64, extraParams string) interfaces.EventInterfacer {
    ur.EventName = eventName
    ur.SubjectId = subjectId
    ur.ExtraParams = extraParams
    return ur
}

func (ur UserLogout) Handle() error {
    fmt.Println("UserLogout event is listen ... ")
    fmt.Printf(" UserLogout-->Handle: %+v\n", ur)
    
    
    return nil
}
